package com.fxd.feigns;

import com.fxd.common.param.SkuUpEsParam;
import com.fxd.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("shopping-es")
public interface EsFeign {

    @PostMapping("/search/save/product")
    R<Boolean> productStatusUp(@RequestBody List<SkuUpEsParam> skuUpEsParams);
}
